package edu.scau.hibernatedemo.model;

import java.io.Serializable;

import org.hibernate.annotations.Entity;
import org.hibernate.annotations.Table;

public class User implements Serializable {
   
   public User() {
		super();
	}
public User(String userName, String password) {
		super();
		this.userName = userName;
		this.password = password;
	}
public User( int iD,String userName, String password) {
		super();
		this.userName = userName;
		this.password = password;
		ID = iD;
	}
   private String userName;
   private String password;
   private int ID;
   public int getID() {
	return ID;
   }
   public void setID(int iD) {
	 ID = iD;
   }
public String getUserName() {
	  return userName;
   }
   public void setUserName(String userName) {
	  this.userName = userName;
   }
   public String getPassword() {
	  return password;
   }
   public void setPassword(String password) {
	  this.password = password;
   }

   
}
